#ifndef _MANAGER_H
#define _MANAGER_H


#define PLUGIN_EXPORTS
#include <stdio.h>
#include <vector>
#include "link.h"
#include "iplugin.h"


class PLUGIN_API Manager
{
public:
    static Manager &instance();  /* should not be inline-ed */
    void add(IPlugin *plugin);
    void execute();
private:
    Manager() { }
    Manager(const Manager &);
    Manager &operator=(const Manager &);
    std::vector<IPlugin *> plugins;
};


#endif
